// components/footer-tool/footer-tool.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    allSelect: {
      type: Boolean,
      value: true
    },
    totalPrice: {
      type: Number,
      value: 0
    },
    totalNum: {
      type: Number,
      value: 0
    },
    isCart: {
      type: Boolean,
      value: true
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    handelSelectAll() {
      this.triggerEvent('select-all');
    },
    handleShopping() {
      this.triggerEvent('shopping');
    },
    handlePayment() {
      this.triggerEvent('payment');
    }
  }
})
